﻿@model Ymca.Web.Models.Blog.DeletePostViewModel

<h2>Are you shure you want do delete this post?</h2>
<div class="control-group">
	<h3>
		<span>@Model.Date.ToShortDateString()</span>
		<span>@Model.Title</span>
	</h3>
</div>

@using (Html.BeginForm())
{
	@Html.HiddenFor(model => model.Id)
	<p>
		<input type="submit" value="Delete" class="btn btn-success" />
		<a href="@Url.Action("Index", "Blog")" class="btn">Cancel</a>
	</p>
}